projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c8175
)
(doprnt1): Cast arg to CHAR_STRING.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 8 May 1998 02:20:38 +0000
(
02:20
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 8 May 1998 02:20:38 +0000
(
02:20
+0000)
src/doprnt.c
patch
|
blob
|
history
diff --git
a/src/doprnt.c
b/src/doprnt.c
index 7eaa2717056afa934626d4726a653e3c91176824..13e13ef620009944973aa2c3d05bfba5f811fa28 100644
(file)
--- a/
src/doprnt.c
+++ b/
src/doprnt.c
@@
-293,7
+293,7
@@
doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args)
case 'c':
if (cnt == nargs)
error ("not enough arguments for format string");
- tem = CHAR_STRING ((EMACS_INT) args[cnt], charbuf, string);
+ tem = CHAR_STRING ((
int) (
EMACS_INT) args[cnt], charbuf, string);
cnt++;
string[tem] = 0;
width = strwidth (string, tem);